/**
 * 
 */
package com.ntv.presentation.spring.web.user;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author Vedamoorthi Vairam
 * 
 */
@Controller
@RequestMapping("/signout.html")
public class SignOutController  {
	
	@RequestMapping(method = RequestMethod.GET)
	public String form(HttpServletRequest request) {		
		request.getSession().removeAttribute("userSession");
		return "redirect:/home.htm";
	}
}
